package com.sba.core.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.NoRepositoryBean;

/**
 * 基本repository, NoRepositoryBean注解是防止创建Repository实例.
 * 
 * @author feiliming
 *
 */
@NoRepositoryBean
public interface BaseRepository<T> extends JpaRepository<T, Long>,CrudRepository<T,Long>{

}
